]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
background: don't call destroy() from the destroy handler
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 20 Feb 2013 05:04:34 +0000 (00:04 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 20 Feb 2013 05:06:38 +0000 (00:06 -0500)
We're calling destroy() in a callback of the destroy handler, which
results in an X server crash at login.

https://bugzilla.gnome.org/show_bug.cgi?id=694240

js/ui/background.js

index 8d2a9cce12523b240a0b5a5d1573e15fa07e1418..c1c061691b6cba63f71af1ac5a09cdef12ac9167 100644 (file)
@@ -301,8 +301,6 @@ const Background = new Lang.Class({
 
         this.actor.disconnect(this._destroySignalId);
         this._destroySignalId = 0;
-
-        this.actor.destroy();
     },
 
     _setLoaded: function() {